{% extends "hs-base.html" %}
{% block div %}
    <div class="content">
                    <div class="container-fluid">

                        <div class="row">
                            <div class="col-12">
                                <div class="card-box">
                                    <h4 class="header-title"> 升级历史查询 </h4>

                                    <form action="#" method="post">
                                        <div class="form-group m-b-20">
                                            <div class="col-3">
                                                <label>请选择要查询的日期区间：</label>
                                                <input class="form-control input-daterange-datepicker" type="text" name="daterange" value="01/01/2018 - 01/31/2019"/>
                                                <br>
                                                <button type="submit" class="btn btn-custom waves-effect waves-light" name="fun" value="hisquery">查询</button>
                                            </div>
                                        </div>
                                    </form>
                                    <table class="table table-hover m-0 tickets-list table-actions-bar dt-responsive nowrap" cellspacing="0" width="100%" id="datatable">
                                        <thead class="thead-light">
                                        <tr>
                                            <th>升级程序</th>
                                            <th>升级详情</th>
                                            <th>开始时间</th>
                                            <th>升级人</th>
                                        </tr>
                                        </thead>

                                        <tbody>
                                        {% for turn_list in histurn_lists %}
                                            <tr>
                                            <td>{{ turn_list[0] }}</td>
                                            <td>{{ turn_list[2] }}</td>
                                            <td>{{ turn_list[3] }}</td>
                                            <td>{{ turn_list[4] }}</td>
                                        {% endfor %}
                                        </tbody>
                                    </table>
                                </div>
                            </div><!-- end col -->
                        </div>
                        <!-- end row -->

                    </div> <!-- container -->

                </div>


{% endblock %}
